package net.cjw.initsb.config.quartz.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@Configuration
@Component // 此注解必加
@EnableScheduling // 此注解必加
public class ScheduleTask2 {
	Logger logger = LoggerFactory.getLogger(this.getClass());

	public void sayHi() {
//		logger.info("我是定时任务二的方法");
	}


}